package com.example;

public class Guest {

    /**
     * 出发站点
     */
    private Site startSite;


    /**
     * 目标站点
     */
    private Site targetSite;


    public Site getStartSite() {
        return startSite;
    }

    public void setStartSite(Site startSite) {
        this.startSite = startSite;
    }

    public Site getTargetSite() {
        return targetSite;
    }

    public void setTargetSite(Site targetSite) {
        this.targetSite = targetSite;
    }

    @Override
    public String toString() {
        return "Guest{" +
                "startSite=" + startSite.getName() +
                ", targetSite=" + targetSite.getName() +
                '}';
    }
}
